<?php if (!defined('THINK_PATH')) exit(); /*a:3:{s:25:"app/index/view/jifen.html";i:1615109898;s:26:"app/index/view/header.html";i:1615109898;s:26:"app/index/view/footer.html";i:1615109898;}*/ ?>
<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="utf-8" />
    <meta name="author" content="@梦雨(QQ50361804)" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no" />
    <title><?php echo set('jifen',2); ?>管理 - <?php echo set('title'); ?></title>
    <meta name="keywords" content="<?php echo set('keywords'); ?>">
    <meta name="description" content="<?php echo set('description'); ?>">
    <!DOCTYPE html>
<html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=0" />
    <meta name="renderer" content="webkit" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <link rel="stylesheet" href="/public/admin/lib/layui/css/layui.css">
    <link rel="stylesheet" href="/public/admin/css/font.css">
	<link href="/public/css/default.css" rel="stylesheet">
	<script src="/public/js/jquery-3.4.1.min.js"></script>
    <script src="/public/admin/lib/layui/layui.js"></script>
    <link rel="stylesheet" href="/app/index/view/public/css/bootstrap.min.css">
    <link rel="stylesheet" type="text/css" href="/app/index/view/public/css/uid.css?v=<?php echo set('banben'); ?>" />
    <?php echo hook('userheader'); ?>
</head>
<body class="indexx">
    <main class="main pb-20">
        <div class="header-image">
            <div class="js-parallax"></div>
        </div>
        <div class="container gutter-top">
            <!-- Header -->
            <header class="header_uid box">
                <div class="header__left">
                    <div class="header__photo">
                        <img class="header__photo-img" src="<?php echo user('userhead'); ?>" alt="<?php echo user('username'); ?>">
                    </div>
                    <div class="header__base-info">
                        <h4 class="title titl--h4"><?php echo user('username'); ?></h4>
                        <ul class="header__social">
                            <li>
                                <div class="addqa">余额：<?php echo user('point'); ?><?php echo set('jifen',2); ?></div>
                            </li>
                            <li>
                                <a href="<?php echo url('index/user/uid',array('id'=>user('userid'))); ?>" class="addqun" target="_blank">我的主页</a>
                            </li>
                            <li>
                                <a  url="<?php echo url('index/api/logout'); ?>" name="确实要退出登录吗" href="javascript:;" class="add-listing dark-bg del_t">退出</a>
                            </li>
                        </ul>
                    </div>
                </div>
                <div class="header__right">
                    <div class="status"><?php echo dingyi(user('description'),'没有任何介绍'); ?></div>
                </div>
            </header>
            <div class="row sticky-parent">
                <aside class="col-12 col-md-12 col-lg-2">
                    <div class="sidebar box sticky-column">
                        <ul class="nav fanhui">
                            <li class="nav__item">
                                <a href="/" target="_blank">
                                    <i class="layui-icon">&#xe609;</i>
                                    返回首页
                                </a>
                            </li> 
                            <li class="nav__item">
                                <a <?php if(strpos(get_url(), 'set') !== false): ?>class="active"<?php endif; ?> href="<?php echo url('index/user/set'); ?>">
                                    <i class="layui-icon">&#xe620;</i>
                                    基本设置
                                </a>
                            </li>
                            <li class="nav__item">
                                <a <?php if(strpos(get_url(), 'jifen') !== false): ?>class="active"<?php endif; ?> href="<?php echo url('index/user/jifen'); ?>">
                                    <i class="layui-icon">&#xe65e;</i>
                                    <?php echo set('jifen',2); ?>管理
                                </a>
                            </li> 
                            <li class="nav__item">
                                <a <?php if(strpos(get_url(), 'content') !== false): ?>class="active"<?php endif; ?> href="<?php echo url('index/user/content'); ?>">
                                    <i class="layui-icon">&#xe600;</i>
                                    我的内容
                                </a>
                            </li> 
                            <li class="nav__item">
                                <a href="javascript:;" id="gengduo">
                                    <i class="layui-icon">&#xe65f;</i>
                                    更  多
                                </a>
                            </li> 
                        </ul>
                        <ul class="nav genduo" style="display:none;">
                            <li class="nav__item">
                                <a <?php if(strpos(get_url(), 'add') !== false): ?>class="active"<?php endif; ?> href="<?php echo url('index/user/add'); ?>">
                                    <i class="layui-icon">&#xe672;</i>
                                    发布内容
                                </a>
                            </li> 
                            <!--会员中心菜单钩子-->
                            <?php echo hook('userheadernav'); ?>
                            <li class="nav__item">
                                <a href="javascript:;" id="fanhui">
                                    <i class="layui-icon">&#xe65c;</i>
                                    返回
                                </a>
                            </li> 
                        </ul>
                    </div>
                </aside>
                <!-- 内容开始 -->
                <div class="col-12 col-md-12 col-lg-10">
                    <div class="box box-content" style="min-height: 625px;">
                         
                        <div class="filterspace__controls">
                            <ul class="nav nav-pills" id="pills-tab" role="tablist">
                                <li class="nav-item">
                                    <a href="<?php echo url('index/user/jifen'); ?>" class="nav-link <?php if(get('id','1')=='1'): ?>active<?php endif; ?>"><?php echo set('jifen',2); ?>记录</a>
                                </li>
                                <li class="nav-item">
                                    <a href="<?php echo url('index/user/jifen',array('id'=>2)); ?>" class="nav-link <?php if(get('id','1')=='2'): ?>active<?php endif; ?>">提现记录</a>
                                </li>
                            </ul>
                        </div> 
                        <div class="sides_list_property large mt-10" style="display: block;">
                            <?php if(get('id','1')=='1'): ?>
                            <div style="padding: 10px; font-size: 12px; background-color: #f6f6f6; color: #FF5722;margin-bottom:10px"> 
                              您的余额（<?php echo user('point'); ?>）<?php echo set('jifen',2); ?> <a href="javascript:;" class="cz_user">充值</a>
                            </div>
                            <div style="padding: 10px; font-size: 12px; background-color: #f6f6f6; color: #FF5722;margin-bottom:10px"> 
                              提示:  1元人民币兑换<?php echo set('bili',2); ?><?php echo set('jifen',2); ?> 最少充值 <?php echo set('pointzs',2); ?>元<?php echo set('tishi',2); ?>
                            </div>
                            <div style="overflow: auto;">
                                <table class="layui-table" style="min-width: 600px;"> 
                                  <colgroup>
                                    <col width="100">
                                    <col width="200">
                                    <col width="100">
                                    <col>
                                  </colgroup>
                                  <thead>
                                    <tr>
                                      <th><?php echo set('jifen',2); ?></th>
                                      <th>明细</th>
                                      <th>时间</th>
                                    </tr> 
                                  </thead>
                                  <tbody>
                                    <?php $_result=fun_s('point_note',array('uid'=>session('userid')),'id desc',10,false);if(is_array($_result) || $_result instanceof \think\Collection || $_result instanceof \think\Paginator): $i = 0; $__LIST__ = $_result;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i;?>
                                    <tr>
                                      <td><?php echo $vo['jifen']; ?></td>
                                      <td><?php echo $vo['title']; ?></td>
                                      <td><?php echo times($vo['time']); ?></td>
                                    </tr>
                                    <?php endforeach; endif; else: echo "" ;endif; ?>
                                  </tbody>
                                </table>
                            </div>
                            <?php echo fun_s('point_note',array('uid'=>session('userid')),'id desc',10,false)->render(); endif; if(get('id','1')=='2'): ?>
                            <!--提现-->
                            <div style="padding: 10px; font-size: 12px; background-color: #f6f6f6; color: #FF5722;margin-bottom:10px"> 
                              您的余额（<?php echo user('point'); ?>）<?php echo set('jifen',2); ?> <a href="javascript:;" class="tixian_user">提现</a>
                            </div>
                            <div style="padding: 10px; font-size: 12px; background-color: #f6f6f6; color: #FF5722;margin-bottom:10px"> 
                              提示:  提现1元等于 <?php echo set('txjf',2); ?><?php echo set('jifen',2); ?> ，最少提现<?php echo set('txpoint',2); ?><?php echo set('jifen',2); ?>
                            </div>
                            <div style="overflow: auto;">
                                <table class="layui-table" style="min-width: 600px;"> 
                                  <thead>
                                    <tr>
                                      <th><?php echo set('jifen',2); ?></th>
                                      <th>实际到账</th>
                                      <th>申请时间</th>
                                      <th>状态</th>
                                    </tr> 
                                  </thead>
                                  <tbody>
                                    <?php $_result=fun_s('tixian',array('uid'=>session('userid')),'open asc,id desc',10,false);if(is_array($_result) || $_result instanceof \think\Collection || $_result instanceof \think\Paginator): $i = 0; $__LIST__ = $_result;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i;?>
                                    <tr>
                                      <td><?php echo $vo['jifen']; ?></td>
                                      <td>￥<?php echo $vo['rmb']; ?> 元</td>
                                      <td><?php echo times($vo['time']); ?></td>
                                      <td><?php if($vo['open']==1): ?>提现成功<?php endif; if($vo['open']==0): ?><span style="color: #fd5f56;">提现中</span><?php endif; if($vo['open']==-1): ?><?php echo $vo['com']; endif; ?></td>
                                    </tr>
                                    <?php endforeach; endif; else: echo "" ;endif; ?>
                                  </tbody>
                                </table>
                            </div>
                            <?php endif; ?>
                            
                            <div class="clearfix"></div>
                        </div>   
                    </div>
                </div>
            </div>
        </div>
    </main>
    <div class="h66"></div>
    <?php echo hook('userjifen'); ?>
    	</body>
	<script type="text/javascript" src="/public/js/form_ajax.js?v=<?php echo set('banben'); ?>"></script>
    <script src="/app/index/view/public/js/plugins.min.js"></script>
    <script src="/app/index/view/public/js/common.js"></script>
    <script>
    $(document).ready(function(){
        $('#gengduo').on('click', function(){
            $(".fanhui").hide(500);
            $(".genduo").show(500);
        });
        $('#fanhui').on('click', function(){
            $(".fanhui").show(500);
            $(".genduo").hide(500);
        });
    });    
    </script>
    <?php echo hook('userfooter'); ?>
</html>
 
 
 

 
